Updated daysinyear return type; expanded tests