Added tests for __contains__ in TimeRange