Log Message: Factored out the generally useable shell functions into tests.subr, as they will be used by almost all test cases.