move bg-lightness calc to inside adjust test