Previously EventHandler.init() was not called. Now it is called by AbstractDetector.init() and similarly for Fields. Added a test case. Fixes #471