added test for activities