Tweak reftest to deal with linux/travis black background.