renamed this script's name so as to be coexisted with the product version
added some tests to improve the quality