[4.0.0][#460] 5 additional tests covering registering of listeners on the Server module
[4.0.0][#460] moved the startserver function to top level

removed erroneous callback at end of Serve function
removed multiple 'startserver' lines in try/catch
[4.0.0][#460] additonal tests for callback execution and event registration

tests callback expectations
rewrote bad test which expected sync callback execution
tests mock events