Removes test methods.