fix some tests broken by vector API cleanup