fix spelling and add a unit test for scaleTime in pptraj