Back porting to 1.9.x the unit test for: Error when adding a task in
version 1.9.3 - TRUNK-3970