Add test for prefix filter