Ported events spec from Ruby client, and implemented event handling to pass.