Added tests for users service