fix the retrieval test