Have you tried removing the check and then running the unit test?