Testing sharing databases