Improved tests
Added package documentation
Some clarification in docs