Adds tests for wagtailcategories