JAVA-873: Added test to prove this bug no longer exists