re-adapt karma test for new activity module