Made WebTestCase compatible with master/slave configuration