Improved the automated tester.