Test that keys with dots are handled correctly.

If I'm not mistaken, this is how keys containing dots should be handled. The current test suite doesn't really test for this in a more complex scenario, AFAICT.