added tests for InvVect