I've noticed a *lot* of this, especially in the client integration tests:
protected void setUp() throws Exception
{
super.setUp();
...
ClientSessionFactory sf = new ClientSessionFactoryImpl(new TransportConfiguration(InVMConnectorFactory.class.getName()));
..
session = sf.createSession(false, true, true);
session.createQueue(address, queue, false);
}