Add test for JAVA-509
Merge pull request #244 from datastax/JAVA-509-tests

Add test for JAVA-509