Added missing unit tests to CEP Engine