[testlib] fix bug in backup file name generation: it may erroneously replace '-' by '_' in database **parent directories**. This should fix random error when test are run under apycot.
Experiment with the search bar. Try queries like "card sometextualcontent" or"card wikiid index" or "345".