Snapshot. Testing connection to database