added class TimeTest for testing class Time