remove sleep statements from test