Rewrite Vector test