Adding a doctest integration test