improving test coverage + fixing a never raising exception in
Trace.__setattr__