Wrote rebase tests -- many are failing.