added test code to testRetrieve corresponding to the case of fieldlist b...

...eing null