Convert tests to jasmine 1.3 api.

They were written against the 2.0 api, but frontend has 1.3 so several
tests were failing.