Adds basic test.
Merge pull request #1 from alexgorbatchev/patch-1

Adds basic test.