Adds selection event and serialization test
improvements for pull request #11
Merge pull request #11 from crispamares/master

Adds selection event and serialization test