Divide events out of Component, Optimize test cases and tools