added test scheme, add test for vector creation