CXX-163 port examples to integration tests

Do we hate this or love it?