Allow to specify "test" when sending events using the HTTP interface

https://mixpanel.com/docs/api-documentation/http-specification-insert-data