Bug Fix for Tester.java

The previous bug fix had an error.