Fix "function_is_object" test