allow for trailing slashes with unit test

This will allow for trailing slashes and an associated unit test. 

Use case: if you need to implement an API definition that you do not have control of or control of the clients that will be talking to it.