Update queue data structure and test file.