Additional tests for user controller

This exception is thrown by the functional test framework in case the DOM of the page that was returned by the controller is invalid XML and is not parseable, therefore the DOM cannot be constructed. In that case, it is impossible to run selector-based assertions such as `assertHas`.