test classes for EventMatLabIntegrator