Feature/issue 310 test unit littering

The make target `test-unit` target left 2 artifacts in the working directory: `good` and `samples.csv`.

This patch fixes the unit tests so that no untracked files are generated in the working directory.