remove warnings from test