add beginnings of integration tests