Extends vector test case to linear algebra test case.