add a basic test for selecting
implement "priority" and "default" options for "alts"