test dbwork script, text1.txt and text2.txt is part of tests