fixed tests, intermediate output files are still left in the source tree, but that can be fixed later.