Test for railroads and abstraction of buy