Modify trace api

@mortenvp I finished the unit tests and fixed the todos as good as i could. Please let me know what you think? :)
Can't this just be:

```
EXPECT_TRUE(stack.write_trace.expect_calls().with("input_symbol_data", expectd_hex.str());

/// ...
```