Add test mocks

I noticed that the test were running slow and some were failing.
I added mocks for most of the API tests calls
Updated some tests that were failing because the output of the API changed (because it is a wiki database)