- Simple sending event test to server
- Fixed error checking