Remove redundant end_testing check.