implement run() in workprocessor
implement notifyStart() and notifyShutdown in workprocessor
add test event and test event factory