Corrected app order to fix tests with migrations.