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

added tests