Add unit test to user.js#findAll