Adding tests, and code that implements the improved bash prefix variable.