fix tests: dispose generators on language disposal