add spec for pretty printer