Jasmine tests repair and reformat