Switch to jasmine for testing, start cleaning up tests.