modify test and class.js