ticket:9 add bash script and test