tests for perform_request and update methods