Implement end-to-end testing

Fix failing test

Move angular-mocks to devDependencies