Unit Test for convertValueToJavaType

Unit tests are good.