Added matrix test suite.