Issue #209 : add place-holder unit tests for weekly and monthly ESM schedule generator
Issue #209 : fix some bugs, add more unit tests.