separate railwayinfo and test to another file