throrough tests for Self prettyprinting