tests refactoring for AppInst + migration