Draft implementation of integration tests