Initial unit tests.
Merge pull request #3 from ajorians/AddingTests

Initial unit tests.