Refactoring in tests
Cheking that timestamp in new() is in the accepted range
Cheking that 'dt' and 'year' is in the accepted range