Final touches. Reduction of output for testcases.