Make test for methods of MyDate class

Make test for methods of MyDate class