Added missing fields, tests

 - Added missing fields to users
 - Added missing fields to chat
 - Added basic tests for users and chat