Added test for prettyprint parameter