a test that shows the path deviation bug in typescript.js benchmark
fixed the path deviation bug in typescript.