Add test for parsing filters