Add more tests for activity plugin