Updated Jasmine tests to support asycn