Added test for last day of month

Had to modify the schedule just a little bit to handle it. Using a
method to find the last day of month, but it is a little bit of a hack.
It is in ActiveRecord though.