TESTS: added tests re issue #826 to function-test.red
TESTS: added tests re issue #826 to function-test.red

vehar/red,NikolayShubenkovProgSchool/red,rheber/red,red-eco/red,NikolayShubenkovProgSchool/red,rheber/red,vehar/red,red-eco/red