Backported some unit tests
Merge branch 'beta3' of https://github.com/datastax/cpp-driver into beta3