Make it possible to send arbitrary predicates into a view, and
write a test for it.