add test for __repr__