Added tests for the REST API
Implemented get and put for the users endpoint