Add tests for login and setup travis