add more test coverage for reading types via reflection