Fix category edit test