Fixing bug in generateFFs, adding tags to testGenerate script