Unit Tests for SourceSwitch. Counting the number of events traced based on the Trace Level