implemented vector test