Add MMapQueue and related test cases