In testInOneEm test method, using em.clear() after the commit of the first transaction produces the same outcome than testInTwoEm.