:The test wasn't for God to see what would happen, but rather it was a lesson for Abraham.
What lesson would that be? That he wouldn't think twice about hacking up and roasting the only son of his old age because some vainglorious tribal God asked him to do so?
If that tribal God was so smart, why did he need to "test" Abram at all? He should have known beforehand what Abram would do. If he knew beforehand what Abram would do, the whole exercise was a waste of time and no doubt scared the crap out of Isaac. So what was the point except to shave a few years off of Isaac's life due to the sheer terror he must have had. If that God didn't know beforehand, that God is not all-knowing.
Therefore, that story is bogus.
Farkel