TESTS: added a few scope tests of the function function to function-test.red