Document the test framework and improve the test output