remove sleep from frontend tests