split bash script parsing tests for clarity.