Fix missing variable in test.