add test for duplicate tile store
renamed dbStore to TilesStore
Merge pull request #158 from jabadia/jabadia-refactor-dbstore

refactor dbstore