tests: add test for cluster.worker.destroy().

Add a simple test to cover workers' implementation of
Worker.prototype.destroy(). Before adding this test, this code wouldn't
be covered by the tests suite, and any regression introduced in workers'
implementation of Worker.prototype.destroy wouldn't be caught.

Fixes #8223.
For consistency, could you use single quotes in both of these asserts.