dropdown: Write tests on templates