[misc] Fixed failing test
[misc] Improved test
[Misc] Fix unknown macros in functional test
[Misc] Remove unnecessarily complex test code :)
[Misc] Simplify test, clever tests are bad!
XWIKI-9101: Make it possible to relatively easily debug Javascript in the browser
XWIKI-9075: The last version of a document doesn't disappear from the list when you delete it if the document has attachments