fix (test-lib): fix error in HTTP backend verify no outstanding expectations
fix (test-lib): fix request scheduling using WHEN
fix (test-lib): fix the HTTP backend mock to emulate cache interaction more naturally
test (templateCache): test the template caches basic functions
feat (test-lib): add 4xx and 5xx error code awareness to http backend
test (templateCache): write the rest of specification for template cache