Added integrations tests