adding unit tests for vector class