Adds generator constraint unit tests