Bind event handlers in constructor
Add unit tests for constructor