refactored tests and added time tests and class to convert seconds to
anything else