removes test code