Modify isDoubleBlack and uncomment out previous test code