updated TestApi
Added test database