Fixed unit test for check.