cleaned up documentation and simplified running of unittests