added tests to vector test