Test: test collector with records-like data