refined test to use another vector