Improve datatype and test coverage for ScalaReflection schema inference.