Added tests for getQueuedFiles()