Fix document filter test