adding tests for computing error vector for each member