Fix test for relocatable scripts