Add trace to tests