Add debug of input script and generated object in test case