vector test cases fixes