added test for module which using core module events