added option to set shell where we do tests
improved error and verbose messages