TESTS: added tests re issue #826 to function-test.red
Merge remote-tracking branch 'upstream/master'