use '#!/usr/bin/env bash' in test.sh to be little more compatible