Fix ON_SERVER for unit tests.