qc data retriever tests fixed