Working browser tests, made tests more resilient to database contents