Tweaked test and added (commented out) debugging code to tenon.js