added (failing) tests for dotted index keys on valid fields
fix dotted index keys on valid fields