remove sleep from test