Fix jasmine tests that I broke with changes made in #f9200b4