added tests and corresponding functions to the airport class