added junit test for ejb