Fix sintax error
Before generate task model
Integration test implemented