Add tests for the trailing slash snakebite rename case

This adds a Snakebite unittest for the case where a path is given with a trailing slash