Update sdtest.py

added looping to keep browser instances alive longer