test method added for outputting relational table
minor cleanup on testOutput.java