variable number of records do not cause test fail

as per request - thanks for the chance to contribute