add test for controllers/registry/user.js