Open source Elasticsearch does not use template in index creation

It appears that the “template” name/value in my test_template caused the problem. Removing it (moving its inner data to its level) allowed it to work.