Skip DB tests if test_database option is missing.