only check that assertion is raised on fake DB

and don't unit-test the Python interpreter's scoping rules..