Fixing shared range bug in the primitives tests

Previously all of these tests used a single DataRange for both X and Y.