[ticket/11010] Mock user in order for the test to run standalone.

PHPBB3-11010
[ticket/11010] Try to keep min < max.

PHPBB3-11010