found a bug using the tests (return value on setting triggers not as advertised) and fixed it