Added test for TypeMapper