You can also have a look at these [extension mock tests](https://github.com/jclouds/jclouds/tree/master/apis/openstack-keystone/src/test/java/org/jclouds/openstack/keystone/v2_0/extensions), as they include an `assertExtensions` you'll need to use too.