added flight demo and test