Update RunAllTests class.

Fix errors. Remove unused code.