Test: Add test for user-list stuff.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>