Extracted common packagee; created run_tests.sh.