Added some integrations tests