move timestamp_test.go to main package