[testing] added tests for setTime()