testing gamma correction