Adjustments to new jasmine syntax