Fixes
- Use test-api endpoint
- Fix error in endpoint URL to use v1 API
- Save events in seconds instead of milliseconds