refactor test class with flight services and test of other java 1.8 features