Some tests and set the timestamp