[nailgun] Fix tests.