ADDED the activity analysis controller unit test.