Change around test script so that it works with cf_pipeline jenkins

It sources your script instead of executing it, so we cant use
-bash to find out the scripts directory