some new tests, fixed bug with rounding for toolbit size, support for hidden canvas