More tests for retrieve