create StdEventMetadataTest
fix #14
use shared event classes
dispatch an implementing event
fix NPE