minor fix to test/index
add multi-state example to test/index
add model.deselected(), model.selected() for easier querying

update example 3 in test/index