add unit test for show typeclass