script test db