Added unit test for vector add function