Fix uninitialised variable (affecting tests only).