tests check all cases of getphinxtype