Validate TTls. Fixes #1
Tests for ValidateTTL