Add test database and update CI config