Better if check on test.