Add tests for MainActivity
Add Travis.CI testing and upgrade build tools