Issue #9: Tests for writer

Tests written for ScheduleWriter class. (I thought I had done this long
ago, but apparently not.)