client can specify the excludes
added test case for retrieve-all-except and fixed a bug