Added an extra test for foreign functions
Environments have parents, not children
Changed SCMT_Environment to SCMT_Env