updated tests to work on Linux, fixed #213

Updated the image to use a character that should work identically on Mac and Linux (I think, please verify) and sorted the result of `os.listdir` as its order is not guaranteed.