teset generated w/matrix