Fix typos in bash test script.
Use base path in bash test script.

This way, you can run it from any subdirectory.