How about an assert here to test that ATABLE was output? Along the lines of this http://stackoverflow.com/questions/1119385/junit-test-for-system-out-println