Tests and fixs for various Vector functions