Added test to check num_of_days field.