More scheduler unit tests and fixed keyerror possibility

Wrote a few more unit tests for `salt.utils.schedule` and fixed a KeyError that could potentially occur in `salt.utils.schedule.reload`.