Deletes unnecesary testing code.