removed obsolete check in a test