tests: py: add tests for _hawkey.UpdateRef type.