changing the seconds test to use #.to_i, as requseted by code review.  Adding an additional test to validate the interval is possible.