tests: add tests for updateref object.