Model event registration supported in tests (#40)