add auto-testing script