Test improvements.  Close buffers which have been loaded for tests, both
to allow re-use in different tests and to allow ta to close at the end
of tests without a prompt.
Move test output files into the output/ directory.