Fix test in sub check() to be correct.