doc and tests
Merge pull request #53 from fischel/master

missing doc and tests