fix ACT-1749
fix ACT-1749 and provide testcase
fix identation issues
revert identation changes
revert identation for TaskIdentityLinkTest
Merge pull request #106 from xuhuisheng/ACT-1749

fix ACT-1749