@Test(timeout=240000)
public void testGetReference() throws Exception {

    PooledConnectionFactory factory = createPooledConnectionFactory();
    Reference ref = factory.getReference();
    assertNotNull(ref);
}