Fixed some bugs in  RMQ , some new tests have been implemented