test retrieve objects