Adjust verbosity of test script. Add documentation.