Add examples, fix empty values with select, add tests