Added some api and some test for the wiki