polished tests, javadocs
polished some tests to improve code coverage
updated javadocs as well as added new