add a couple tests for the activities function