2bedd9d792
The eight resource-template tests added in this PR were placed inside the legacy TestServer and TestContextInjection classes to match surrounding code, but the repo convention is standalone module-level functions. Moved to the bottom of the file alongside the existing standalone tests.