Added tests for transcript.js using Mocha and Chai