changed copyright header and added event router unittest