I haven't looked at the code and perhaps it's obvious, but where do 'None', 'True', and 'False' come from? I wouldn't expect them to appear given the testing data.