test local database