Added tests for browser persistence