test for CartDBGetter.fetch