Tests GET /flights return 200 and JSON
Tests GET /flights return the default list of flights in JSON format
Converts singletons into plain classes and provides a Global class to manage dependency injection