testing for bash error handleing