Add tests for #delete_path
Move #delete_path for usage on anything that responds to #delete_path