Fixed broken test cases.
Added a db folder