Cleaner approach for test_pair_programmatic pre-config script

--HG--
branch : import_sprite