updated #assertNotEmpty behavior