Add tests for accessLogJsonMiddleware