Remove setUserCodeClassLoader() from PackagedProgram and use partial mock in respective test case