added relationship test in event spec