Handle trailing slash

Yea, wasn't sure if the tests needed the instance attribute for something. Was running off assumptions made on that example