clears comments and removes test code