setup testing script for both Ubuntu and CentOS