Improved test vector setup