Add forgotten session.close in the dao test