Added unit test for vector sub and scale functions