Vanity refactoring of app order test