For locally run unit tests.

Fixes #1247