adjust visibility (special visibility for tests)