1) If god knows everything about you, then why would he test you? He should already know how you would behave in any situation.
2) If god is all powerful, and evil exists, and god is benevolent, and caring, why does he do nothing to stop evil? God is also supposed to be a loving god, so he should and could prevent people from doing evil.
Now, I have heard, as a response to this second question, an analogy to Parents not stopping their children from engaging in less than safe behaviour - touching a live wire, touching a hot stove, that sort of thing. The argument being that a loving parent wants their children to "learn" through experience. However, I find this answer more than a little inadequate. After all, what parent, when they are confronted with a rapist throwing their daughter down, and ripping off her dress would not pounce upon the monster, stop him, and destroy him? Would a loving parent allow the rapist to complete his task, in order to allow their child to "learn" some valuable lesson? And just what lesson might that be?
So, yes. That answer to the second question is woefully lacking.
Do you understand how painful/earth shattering losing your religion is?