Add test for autoappend slash in static file handler