REST API user and todo list unit test compliant