Partial testing implemented. Numerous small errors corrected in DateTime.