add tests
Merge pull request #12 from anchor/test

Add tests