Added test and changed output for time_in_years