Changed vector test methods to accept a string argument