make variable expansion explicit
add tests.sh to automate testing