Created tests for FreightCar class