Added set_time command and associated tests.