Are the parents always responsible for the death of a baby? Keep in mind a lot of babies are dying every single day. If a god exists, then in your opinion he is killing babies on daily basis to test their parents. And you call that god good?
Also, is the god character in Islam good to all people? As far as I know, not really.
RE: If God is a loving God, then why is there so much suffering in this world?