Remove local from variable in test.