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

added tests