made a util out of a couple of calls
create the safe_repr util
a few more tests for the exceptions