Added TestManager.clean_string() method.