Test for contrast