removing warning from test class