Assert that check with errors returns False