trailing_slash = False breaks tests