Nodes are now selected when clicked.
Added a new test.