Added unit tests for MainActivity