tests for Arr::keyval_to_assoc