Add more tests to hasDarkBg