more general test class and assertNotIn