polishing jasmine tests