templates_neutron_ext: support subresource in unittest