proper test_prefs
do not allow banned users
test db for disconnect before using