Beginning tests for ostree origin updating, refactor tempfiles in tests.