further tests for templateToArray