fix cooperation and update test for activity