feat (script, test): Add test and runner for thread