Adding events to the If binder, adding tests.