Unit Test and fix for multiple handler creation

Tests if all user bound handlers are instantiated only once. If not
throws driver side failure exception. This fails on current master.
Hance included is the fix from @mweimer: Added a RuntimeStartHandler
that ensures that all user given event handlers are instantiated only
once.