added tests for user API
fixed missing $forceUpdate parameter check