Database info API added + tests