unit test HttpApiResources