test on data rather than coords