Indexed Templates : Add another rest test

This rest test indexes a template then uses it in search.

See #5637