add train controller test file