Added Clock interface so we can set current time to whatever we want for testing.