commented out escape_path method as it's not in use
removed deprecated commented code
renamed confusingly named test