Update reporting.js

working edition of starting one function for all tests