Fixed issues with script unit test in modular inputs.