Preparing script to collect correctly results from the tests