replaced async expects with observables