Added DB files to ignore list.
Created test suite.
Fixed some DB bugs.