tests for TypeHelper