update expected results
fix warning for undefined value
update expected results
better tracing interface

A single method is enough, and provide more consistent log messages,
whatever the exact action result is.
trace actions