remove useless function from test