Fix incorrect assertTrue usage

Several self.assertTrue(len(returned_list)) statements exist,
which don't make any sense as we're testing an integer length
as a boolean.  Instead test the returned list length matches
the list passed in to stub the request.

Change-Id: I713c3a6afcc93ebb2a8f7ffde45aade2154ebf2c
Merge "Fix incorrect assertTrue usage"