Add event test plugin

Fixed some c::b evt errors and plugin un-registering errors