Fix some uninitialised variables in a test.