[ticket/12684] Add doc blocks and test file for user:add

PHPBB3-12684