Test using prettytest