/// <summary>
 /// Create a new Test with required attributes. Assign it to the given primary workitem.
 /// </summary>
 /// <param name="name">The initial name of the test.</param>
 /// <param name="workitem">The Workitem(Epic, Story, Defect) this Test will belong to.</param>
 /// <param name="attributes">Required attributes.</param>
 /// <returns>A newly minted Test that exists in the VersionOne system.</returns>
 public Test Test(string name, Workitem workitem, IDictionary<string, object> attributes) {
     var test = new Test(instance) {
         Name = name, 
         Parent = workitem
     };
     AddAttributes(test, attributes);
     test.Save();
     return test;
 }