test specs pass, but async call is causing timing issues