added a test for trainline controller