add test for comparing patches to other types