fixed some bugs. Generating tests