test shared script as executable