Tweak code
elements -> element
Bug fix
Add test_select_table_element