working on jasmine tests