add test for #258
roll back database creation, fixes #258