Added predicate filter test

![screen shot 2014-11-20 at 20 40 34](https://cloud.githubusercontent.com/assets/1042225/5131729/090ca9f8-70f6-11e4-8e15-3fe681f99522.png)