Add working integration tests.