Added more testing to testActivity