Added new test patterns for complex math functions. Added new tests to test framework. Improved error handling of test framework.