changed functions and unit tests

created test.json and test2.json
changed functions to look for trains to nc, vienna and largo
added unit tests