Some tests for user.js