Add spec tests and support for glance_backend