test background of element