Dave Wolverton said this quote

Qui-gon shook his head. 'No,' he said firmly. 'I'm not testing you, Obi-wan. Life tests you! Every day it brings you new chances for triumph or defeat. And if you pass the test, it doesn't make you a Jedi. It makes you human.