add tests, now having reached 100% coverage and add more docs