Eliminated extraneous print statements in JUnit tests