testing pretty writer and writing out in N-triples