filter test sample