[BrowserTest] remove sleep() from template test

Change-Id: Ia564232e02db2e6be3070d98691097350e920a3b