Fix cache control tests
Fix test coverage for protect.js middleware
Restore remove trailing slash tests
Fix tests for restful middleware
Test coverage for configure middleware