Added TTL_MARGIN in test.