helpers: test for trace read/write added + bugfixes