testing number of pixels