Fix sigterm handling for worker_test

The sigterm handler for the `worker_test` process did not accept the
correct number of arguments.