Added tests

- Test time parsing
- Test span construction from events