Add tests for Event and Transport