add null and boolean comparison test for postgis - refs #794, #1642, #1644