Removes test statements