Removed two obsolete checks from tests.