Improved performance to print csv with all tests