Remove unused  variable in test