fixed #16: implement an IGenerator test