adding testcommon.js