More docs and testing
check + merge
Merge pull request #2 from pitakakariki/dev

documentation and tests added