Add more tests.  Make the nd_index_hex_patterns:create/2 exception simpler.