testContructorByVector added and constructor corrected