Fix existence tests