Skip attachment unknown_keys if the mapping does not include attachment

Think my index was not being cleared up when I ran the tests.