Range unit tests and shell script