Remove unnecessary test.