#1052 API: Created tests for users and roles;