testsuite: Add a TypeRep test

Authored by bgamari on May 19 2016, 2:05 PM.