Fix test name notation and remove unnecessary variable.