Add regression tests for "where id = 0" predicate.