fixed test for ejb component + fixed persistence.xml