add routing tests for encoded slashes and overriding content typoe in error handler