select: Write tests on templates

Close #783 
добавь в тест `id`