Added Event constraint unit tests