test if date dimension exists before creating it and provide a test in test_dataset to test this behaviour