CHEF-5261 Added some tests to prevent double slashes

Ticket that goes with this PR: https://tickets.opscode.com/browse/CHEF-5261