My changes for Jasmine tests