Added some Jasmine unit tests, started adding some Protractor e2e tests