Fix AppStates.setup() test