added commonsTest.js