Modify GoalDaoTest

Execute entityManagerFactory.close() after every test