Added tests to validate duration syntax.