Fix warnings
Change DB for convinience
Add ConfigTests