Fix template test, rename NewRegistryStorage to NewRESTStorage