Testing applications using RxJS