fixed flights controller tests, added valid and invalid attributes