Added missing flagToFunction App constructor tests