unit-tests/run-tests.R can be run as a unit test