fix test_copy_db_to_head
Merge pull request #398 from Incubaid/fix-test-copy-db-to-head

fix test_copy_db_to_head