unittest for "add intervalOfWeeks"