Some minor cleaning up.
Improved the testing of our Python interface.The idea is to have only one output file per Python test (as opposed to one for each platform and each release/debug mode).