write integration tests for hiding flags and annotations for inactive users