More browser tests
Abstract fixtures
Add debug options to phantom tests
Close connections in test server
Add browser tests for subscribed documents
Connections are only setup when tests are run