Fix task-defaults correct work

 - Unit test

Closes-bug #1376640

Change-Id: I24a347259e5aeec020ebdc766c33e9b0f3e7015f
Merge "Fix task-defaults correct work"