tests: Add a rebase test

This crashes for me sometimes, so let's add a test.
https://github.com/projectatomic/rpm-ostree/issues/30