Adds test for pprinting type with meta __repr__

Tests that pretty-printing a type calls the metaclass's __repr__, if it
exists.