added tests for modelEvents