complete severial TODO tasks

1. complete two javadoc description
2. modify one junit test