started to implements the integration tests