Improved alignment in case of partially overlapping vectors. Moved test
for creation of VG from VS to a separate testsuite.