Remove unused variable from test