SwapDateSchedule fix; test cases expanded

* Fixed SwapDateSchedule in case where you have a back stub. Wasn’t
terminating while loop
* Expanded test cases (closes #8)