refactors activity.js integration tests

This is ready to go in as well. Test refactoring is always a good thing!