Fixes issue #256
Fixed tests that use Trace listener