Updated TestFligt and fixed problem with generate package