JIODate type and tests