split up IntegrationTest, refine VisibilityTest