Unit tests for retrievers