Implemented the testActivity unit test