test retrieval - correct output