Removed unused staff from testcommon.js and arrays of characters refactored to have testEach property