added some spec for event controller