Implemented Period length(), fixed Time.difference() and TimeTest.TestDifference()