tests for user REST