Add test for repr

Add test for repr