DOC: Changed length of license header because PEP8
ENH : added new methods + generalized testing
ENH : do bool cast by hand