updated worker to run and check tests, use app_key