shell script notes and tests