added middleware tests
added coverage to host/coverage.html