added tests for users-detail-api