Write summary file after test.