Add a test for the vector functions