ignore dots in test
fix error message
pformat, not pprint