added test to confirm that it works with and without dates in the plot field