Move timestamp tests to a shared example