modified browser tests to be more stable