Add worker script, logger and renamed test to test_script