rb db test and add db folder