[test] fix dodgy comparison in VectorTest