Replace Attest to py.test
Enable doctests
Drop useless tests that invoking doctests
Clean the code up
Cleanup (continued)
Merge pull request #1 from Kroisse/py.test

Replace testing framework from Attest to py.test