(test) remove use of beforeEach in module test

Remove beforeEach to speed up unit tests and to fix occasional error
with rmdir trying to remove a non-empty directory.

Update description in README to match package.json.