Added tests for FunctionEnvironmentRecord.