    @Test
    public void testCreateWithInstancId() throws JasDBException, IOException {

        LocalDBSessionFactory localDBSessionFactory = new LocalDBSessionFactory();
        localDBSessionFactory.createSession().addInstance("testInstance");

        DBSession session = localDBSessionFactory.createSession("testInstance");
        assertThat(session.getInstanceId(), is("testInstance"));
    }