* Add migration test about instance actor key * Fix old migration * Work around incorrect database state