improved test cases for vg.str