editor: Add functional test for select type