Fix golang unit tests.