fixed shebang paths and tests