Check if we're running unit tests.