Wrong variable used in a test