fix event range bug int unit test of evet analyzer