Add more complex filtering test