adds generate from content and appropriate tests