Added u tests

Added tests in Dokuwiki for patch already pulled:
https://github.com/splitbrain/dokuwiki/pull/154

More precisely:
* 3fed52e add failing tests
* 05074c7 merge the fix