tests for vartrees