Add a failing test for a use case that should work and fix a javadoc typo