Add tests for datetime container type.