add iterator constructor for sd vector

added test for sd itr ctr