add test case for Activity