Adds functional testing with a stateful testbrowser