compania and database connection tested completely