Test notFoundHandler
Add test for indexHandler
Add more tests for middleware