add test for dynamically creating data points