Test for whitespace insertion if trailing in a tag

Some RTE's allow users to insert formatting like `[b]bold string [/b]goes here`. The last space is stripped out from inside the tag, resulting in no space being shown better the letters, demonstrated by the test. Unfortunately I don't have the time to get into the code and patch this myself :/