Added pattern matching on test suite.