modify Test.js, add Report function