Fix duplicate array keys in tests
Pass rawValue and expectedFormat arguments to ParseExceptions

See bug 62824.