template now uses queue 'split_index' api
automated tests for queue api 'split_index' and template interpritation of 'split_index'
tiny tidy of template test