task rest test, fixed foreign key bug, task.setBacklogId bug