fix classes' semantic typo and update docs in test