msgQ test: implement enumerate() for STL msgq