Reset freed count, allows multiple runs.
Allow test count to be set in env: JD_TEST_COUNT