test: add a test case for (epoch) Text -> Time cast