Added test for dbstore.getOrCreate

Fixed syntax