CharArrayTest: test CharArray, not IntArray
Fix invalid javadoc links
Fix some warnings
Clean up imports