Fixed Javadocs and test case.