added tests for typed-vector