Dbstore test fix

For #275.