cleaning up matrix test output