Unit testing for __repr__.