Add tests for start/not_start/end/not_end predicates