tests for show_contrast