Reduced errors in tests when running with Python 3 by using bytes/str where needed
Make sure is_blacksquare is always called with a character