Better Compenent.__repr__ and test it