Allah And Justice
Allah has a complete scheme of test and reward against fee will. He proposed it to humans and they accepted it willingly. See the last verse of Surah Ahzad 33. It is a consentaneous. Humans opted for it in hope for eternal rewards. Then their memory of this covenent was wiped out and then they were sent for the test.