AS & JR fixed broken jasmine tests