Update a test to look for artifact.json

Instead of profile.json
Update the test for shebang

The test was testing the old behavior when shebang is not updated. Since we
update it now, we need to modify the test to expect this new behavior.
Merge pull request #138 from hashdist/fix137

Fix137