filter test improvement