improve tikz::Value, add unit test