added tests
Merge pull request #1 from realpython/unit-tests

added tests