fix leak in legacy trigger parse error case
built-in watch assertion in tests

Pass false as the second parameter to skip the success assertion;
useful when testing failure conditions.