Add complex matrix test.