added unit tests for print.summary and print.unglued