Fixing broken linting, adding tests, moving to jasmine