Fix activityIntegrationTest unit test