Add three train case on Locomotive example.