core/ccore: added tests for MacCarthy's 91 function