lots of work on transit.js for test