Added print method for class lrtest.