Unit Tests

- Downgraded bash constructs to sh, reducing the requirements from bash to sh.