Fix typos in Javadoc in AssertThrows
Clean up test warnings that show up in Gradle console