Test coverage for not found middleware