Added tests for FreightCar