Unit tests added. DatabaseService added