Renamed newApp newAppForTest and pass TestData into it.