Change priority test for MemoryQueue