AppFactory tests added