Should assert on filteredBatches.  Also the contains check implies the isEmpty check