Test against funky ordering of periods in the input.

It shouldn't matter in the first place, and I don't believe the order of iteration over
keys in an object is specified in the JS spec anyways. The test passes now.