Remove unnesassary variable from test