write test for wiki model