Implemented software_exception in testParameters() function