Test useer factory