updated Test for contrast