Add JPA testcase which demonstrates synchronization issue

I've made JPA configured in the testcase and can't get records properly hit database.
This is almost the same issue which I see when trying to integrate jbosstm into deltaspike core: there is one "insert" but others are ignored.