Move trace macro to partest-extras