Refactor tests to use Jasmine, now 100% better.