Fixup URL assembly, add simple test
diff --git a/openstack/compute/v2/images/requests.go b/openstack/compute/v2/images/requests.go
index a755ea1..7ce5139 100644
--- a/openstack/compute/v2/images/requests.go
+++ b/openstack/compute/v2/images/requests.go
@@ -67,6 +67,6 @@
// Delete deletes the specified image ID.
func Delete(client *gophercloud.ServiceClient, id string) DeleteResult {
var result DeleteResult
- _, result.Err = client.Delete(getURL(client, id), nil)
+ _, result.Err = client.Delete(deleteURL(client, id), nil)
return result
}