Update jasmine tests to match changes