Test for pixel density