baseNameOf
Add note about removal of trailing slashes in the doc comment of baseNameOf and enabled the test.