Fireforeffect you're right.
As a Christian i ask myself this, If i live with my GF, we are considered living in sin. But as God whom is all knowing would see that the relationship will lead to marriage and a lifelong commitement. So were we living in sin? What about people that got married then divorced? Surely God could see that was going to happen. That's why i consider Christianity a philosophy on how to live your life. All other things are just words added by man and it makes our religion look silly and contradictory in some cases.
Also God has no need to "test" us, The outcome is already known to God, the so called test is for us to grow and change, it's a disquised learning experience which will prep you for something down the line.