updated doctests (for __repr__ table), corrected