Wrote a test that makes sure that setTime sends a message.