tests and fix on generators
remove an error_log