Added test for trailing slash. Seems to be already fixed. Closes #101