refactors activity.js integration tests
Merge pull request #644 from zachgersh/integration_activityjs

refactors activity.js integration tests