Remove unnecessary test code.