checkstyle, spelling error, and test fix