Fix tests not building/crashing.