disable traces.
fix wait_pull_front issue introduced in previous commit and add more tests.