Removes test code