fix a typo and add javadocs to other tests