Added seed to apply_filter in test_model.py.