Fixed test throwing unused variable warning