Fixed flawed test condition