* Add template test for gate job
* Fix the wrong parameter
* Add project_id and user_id to db query filter