Refactor WikiParser tests