modified jasmine tests