adapt base-test files to run more than 'code'

Useful when testing the scripts when they are renamed.
reviews for t1