Add a substring() test
ONeil: Bug fix related to bug issue #21891
O'Neil: Added error code FOAR0002, See bug issue #21733
Adding dependency on module for new tests.
ONeil: Bug fix related to bug issue #21733
O'Neil: Bug fix relating to issue #21900
Add some tests for zero-length regexes
Add a test for count of a for expression